package com.sweetcircle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sweetcircle.domain.dto.MessageSendDto;
import com.sweetcircle.domain.po.UserContact;
import com.sweetcircle.domain.vo.ContactApplyVO;
import com.sweetcircle.domain.vo.ResponseVO;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;


/**
 * @author hp
 * @description 针对表【user_contact(联系人)】的数据库操作Service
 * @createDate 2024-07-29 19:17:16
 */
public interface UserContactService extends IService<UserContact> {

    List<HashMap<String, Object>> getAllContact(String userId);
    ResponseVO addContact(ContactApplyVO contactApplyVO);
    List<HashMap<String, Object>> acceptApply(HashMap<String, UserContact> userContact);
    boolean deleteContact(UserContact userContact);
    List<HashMap<String, Object>> joinInBlacklist(UserContact userContact);
    List<HashMap<String, Object>> removeBlacklist(UserContact userContact);
    List<HashMap<String, Object>> updateContactInfo(UserContact userContact);
    List<HashMap<String, Object>> updateContactNoteName(UserContact userContact);
}
